﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ConnetData;
using System.Data;
using System.Data.OleDb;
using DTO;

namespace DAL
{
    public class SachDAL:ConnetDataBasse
    {
        public DataSet DanhMucSach()
        {
            DataSet ds = new DataSet();
            string str_ChuoiTruyVan="SELECT *FORM Sach";
            OleDbDataAdapter da=new OleDbDataAdapter(str_ChuoiTruyVan,_conn);
            OleDbCommandBuilder cb=new OleDbCommandBuilder(da);
            da.Fill(ds, "Sach");
            return ds;
        }
    }
}
